<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">

<title>公司管理</title>
<link rel="stylesheet" type="text/css" href="easyui/css/easyui.css">
<link rel="stylesheet" type="text/css" href="easyui/css/icon.css">
<link rel="stylesheet" type="text/css" href="easyui/css/demo.css">
<script type="text/javascript" src="js/jquery.min.js"></script>
<script type="text/javascript" src="easyui/js/jquery.easyui.min.js"></script>
<script type="text/javascript" src="easyui/js/easyui-lang-zh_CN.js"></script>
<script type="text/javascript" src="administrator/js/company.js"></script>

<script type="text/javascript">
	
</script>

</head>
<body>
	<table id="userMsg"></table>

	<div id="tg_toolbar" align="right" style="width: 100%">
		<a href="javascript:void(0)" class="easyui-linkbutton "
			iconCls="icon-add" plain="true" onclick="onAdd()">增加</a> <a
			href="javascript:void(0)" class="easyui-linkbutton"
			iconCls="icon-edit" plain="true" onclick="onUpdate()">编辑</a> <a
			href="javascript:void(0)" class="easyui-linkbutton"
			iconCls="icon-remove" plain="true" onclick="onDelete()">删除</a>
	</div>

	<div id="dg_dia" title="公司信息" class="easyui-dialog"
		data-options="iconCls:'icon-add',modal:true,closed:true"
		style="top:50px;padding:10px;width:500px;">
		<form id="userForm" name="edit_user" action="" method="post">
			<input type="hidden" name="id" value="">
			<table>
				<tr>
					<td>公司编码:</td>
					<td><input type="text" name="companyCode"
						class="easyui-textbox" data-options="required:true">
					</td>
				</tr>
				<tr>
					<td>公司名称:</td>
					<td><input type="text" name="companyName"
						class="easyui-textbox" data-options="required:true">
					</td>
				</tr>
				<tr>
					<td>联系电话:</td>
					<td><input type="text" name="telephone">
					</td>
				</tr>
				<tr>
					<td>电子邮箱:</td>
					<td><input type="text" name="email" class="easyui-textbox"
						data-options="validType:'email'">
					</td>
				</tr>
				<tr>
					<td>传真号码:</td>
					<td><input type="text" name="fax">
					</td>
				</tr>
				<tr>
					<td>所在地址:</td>
					<td><input type="text" name="address">
					</td>
				</tr>
				<tr>
					<td>描述:</td>
					<td><textarea name="memo" cols="15" rows="5"></textarea></td>
				</tr>
				<tr>
					<td></td>
					<td><a id="btnsummit" class="easyui-linkbutton">确定</a>
						&nbsp;&nbsp;&nbsp;&nbsp; <a id="btncancer"
						class="easyui-linkbutton">取消</a></td>
				</tr>
			</table>
		</form>
	</div>
</body>
</html>
